\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view}{
\section{pycol.engine.view.Grid\_\-view.Grid\_\-view Class Reference}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view}\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
}


Documentation for \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view}{Grid\_\-view} class \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view}{Grid\_\-view} is a class between the Game class and the \hyperlink{namespacepycol_1_1engine_1_1pattern}{pattern} Grid.  
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ae1948c10c7bb928d35cdd70dd0a76c38}{\_\-\_\-init\_\-\_\-}
\begin{DoxyCompactList}\small\item\em The constructor. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ade44a9e4011cbbab812ecff0931d67dd}{where\_\-put\_\-card\_\-on\_\-x\_\-axis}
\begin{DoxyCompactList}\small\item\em Public method where\_\-put\_\-card\_\-on\_\-x\_\-axis. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a023d39a53b2c89d5701528d8c6782d26}{where\_\-put\_\-card\_\-on\_\-y\_\-axis}
\begin{DoxyCompactList}\small\item\em Public method where\_\-put\_\-card\_\-on\_\-y\_\-axis. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a9e721cda1d2ce9bb52a370e2dc07b3c2}{where\_\-put\_\-card}
\begin{DoxyCompactList}\small\item\em Public method where\_\-put\_\-card. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a3255d3ebc7f88ded36a8b9a3e19143ba}{bad\_\-x\_\-value}
\begin{DoxyCompactList}\small\item\em Public method bad\_\-x\_\-value. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a1436b3fc727640e11005f59241758bc1}{bad\_\-y\_\-value}
\begin{DoxyCompactList}\small\item\em Public method bad\_\-y\_\-value. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a97be65628cd66fde24bcbde4c6e7359d}{bad\_\-coordinate}
\begin{DoxyCompactList}\small\item\em Public method bad\_\-coordinate. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a685473c74871f1fb17cd44f0cb9849a3}{bad\_\-position}
\begin{DoxyCompactList}\small\item\em Public method bad\_\-ccordinate. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ae4b4bc9ac7cac40a4bb89af4a3c1ff2c}{show}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a8f15c14441f432f653ffbe46c1bc613c}{are\_\-you\_\-sure}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a5a3a6b9bffed50a3416c98868187f83e}{choice\_\-not\_\-understand}
\begin{DoxyCompactList}\small\item\em Public method choice\_\-not\_\-understand. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a0966827e61407b86ac61e11f1c58ef5d}{\_\-\_\-beautiful\_\-print}
\begin{DoxyCompactList}\small\item\em Private method \_\-\_\-beautiful\_\-print. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Documentation for \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view}{Grid\_\-view} class \hyperlink{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view}{Grid\_\-view} is a class between the Game class and the \hyperlink{namespacepycol_1_1engine_1_1pattern}{pattern} Grid. 

Definition at line 25 of file Grid\_\-view.py.

\subsection{Member Function Documentation}
\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a0966827e61407b86ac61e11f1c58ef5d}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!\_\-\_\-beautiful\_\-print@{\_\-\_\-beautiful\_\-print}}
\index{\_\-\_\-beautiful\_\-print@{\_\-\_\-beautiful\_\-print}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{\_\-\_\-beautiful\_\-print}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.\_\-\_\-beautiful\_\-print ( {\em self}, \/   {\em text})\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a0966827e61407b86ac61e11f1c58ef5d}


Private method \_\-\_\-beautiful\_\-print. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em text,:}]The text who need be colored \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: color\_\-text A colored text 
\end{DoxyReturn}


Definition at line 112 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ae1948c10c7bb928d35cdd70dd0a76c38}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.\_\-\_\-init\_\-\_\- ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ae1948c10c7bb928d35cdd70dd0a76c38}


The constructor. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The pointer object \end{DoxyParams}


Definition at line 28 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a8f15c14441f432f653ffbe46c1bc613c}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!are\_\-you\_\-sure@{are\_\-you\_\-sure}}
\index{are\_\-you\_\-sure@{are\_\-you\_\-sure}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{are\_\-you\_\-sure}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.are\_\-you\_\-sure ( {\em self}, \/   {\em x}, \/   {\em y})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a8f15c14441f432f653ffbe46c1bc613c}


Definition at line 153 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a97be65628cd66fde24bcbde4c6e7359d}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!bad\_\-coordinate@{bad\_\-coordinate}}
\index{bad\_\-coordinate@{bad\_\-coordinate}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{bad\_\-coordinate}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.bad\_\-coordinate ( {\em self}, \/   {\em x}, \/   {\em y})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a97be65628cd66fde24bcbde4c6e7359d}


Public method bad\_\-coordinate. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em x,:}]x axis \item[{\em y,:}]y axis \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: True 
\end{DoxyReturn}


Definition at line 91 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a685473c74871f1fb17cd44f0cb9849a3}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!bad\_\-position@{bad\_\-position}}
\index{bad\_\-position@{bad\_\-position}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{bad\_\-position}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.bad\_\-position ( {\em self}, \/   {\em x}, \/   {\em y})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a685473c74871f1fb17cd44f0cb9849a3}


Public method bad\_\-ccordinate. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em x,:}]x axis \item[{\em y,:}]y axis \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: True 
\end{DoxyReturn}


Definition at line 102 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a3255d3ebc7f88ded36a8b9a3e19143ba}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!bad\_\-x\_\-value@{bad\_\-x\_\-value}}
\index{bad\_\-x\_\-value@{bad\_\-x\_\-value}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{bad\_\-x\_\-value}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.bad\_\-x\_\-value ( {\em self}, \/   {\em x})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a3255d3ebc7f88ded36a8b9a3e19143ba}


Public method bad\_\-x\_\-value. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em x,:}]x axis \end{DoxyParams}


Definition at line 72 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a1436b3fc727640e11005f59241758bc1}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!bad\_\-y\_\-value@{bad\_\-y\_\-value}}
\index{bad\_\-y\_\-value@{bad\_\-y\_\-value}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{bad\_\-y\_\-value}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.bad\_\-y\_\-value ( {\em self}, \/   {\em y})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a1436b3fc727640e11005f59241758bc1}


Public method bad\_\-y\_\-value. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em y,:}]y axis \end{DoxyParams}


Definition at line 81 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a5a3a6b9bffed50a3416c98868187f83e}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!choice\_\-not\_\-understand@{choice\_\-not\_\-understand}}
\index{choice\_\-not\_\-understand@{choice\_\-not\_\-understand}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{choice\_\-not\_\-understand}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.choice\_\-not\_\-understand ( {\em self}, \/   {\em choice})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a5a3a6b9bffed50a3416c98868187f83e}


Public method choice\_\-not\_\-understand. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \item[{\em choice,:}]the choice enter by the player \end{DoxyParams}


Definition at line 163 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ae4b4bc9ac7cac40a4bb89af4a3c1ff2c}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!show@{show}}
\index{show@{show}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{show}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.show ( {\em self}, \/   {\em grid})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ae4b4bc9ac7cac40a4bb89af4a3c1ff2c}


Definition at line 124 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a9e721cda1d2ce9bb52a370e2dc07b3c2}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!where\_\-put\_\-card@{where\_\-put\_\-card}}
\index{where\_\-put\_\-card@{where\_\-put\_\-card}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{where\_\-put\_\-card}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.where\_\-put\_\-card ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a9e721cda1d2ce9bb52a370e2dc07b3c2}


Public method where\_\-put\_\-card. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: x and y 
\end{DoxyReturn}


Definition at line 63 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ade44a9e4011cbbab812ecff0931d67dd}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!where\_\-put\_\-card\_\-on\_\-x\_\-axis@{where\_\-put\_\-card\_\-on\_\-x\_\-axis}}
\index{where\_\-put\_\-card\_\-on\_\-x\_\-axis@{where\_\-put\_\-card\_\-on\_\-x\_\-axis}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{where\_\-put\_\-card\_\-on\_\-x\_\-axis}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.where\_\-put\_\-card\_\-on\_\-x\_\-axis ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_ade44a9e4011cbbab812ecff0931d67dd}


Public method where\_\-put\_\-card\_\-on\_\-x\_\-axis. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: x 
\end{DoxyReturn}


Definition at line 35 of file Grid\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a023d39a53b2c89d5701528d8c6782d26}{
\index{pycol::engine::view::Grid\_\-view::Grid\_\-view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}!where\_\-put\_\-card\_\-on\_\-y\_\-axis@{where\_\-put\_\-card\_\-on\_\-y\_\-axis}}
\index{where\_\-put\_\-card\_\-on\_\-y\_\-axis@{where\_\-put\_\-card\_\-on\_\-y\_\-axis}!pycol::engine::view::Grid_view::Grid_view@{pycol::engine::view::Grid\_\-view::Grid\_\-view}}
\subsubsection[{where\_\-put\_\-card\_\-on\_\-y\_\-axis}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Grid\_\-view.Grid\_\-view.where\_\-put\_\-card\_\-on\_\-y\_\-axis ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Grid__view_1_1Grid__view_a023d39a53b2c89d5701528d8c6782d26}


Public method where\_\-put\_\-card\_\-on\_\-y\_\-axis. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: y 
\end{DoxyReturn}


Definition at line 49 of file Grid\_\-view.py.

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/jonathan/Projets/Python/pycol/engine/view/\hyperlink{Grid__view_8py}{Grid\_\-view.py}\end{DoxyCompactItemize}
